rmdir /s/q publish
dotnet publish WebApplication2.csproj -c Release -o publish
cd publish
dotnet WebApplication2.dll